# 可执行文件sdb
add_executable(sdb sdb.cpp) 


target_link_libraries(sdb PRIVATE sdb::libsdb PkgConfig::libedit fmt::fmt)

# sdbd的可执行文件安装到系统
include(GNUInstallDirs)
install(
    TARGETS sdb
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)